package com.wuan.study.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author v-wuan
 * @date 2023/7/13 16:05:15
 * @desc
 */
@Getter//监听器中要取值：event.getMsg()
public class Event_1 extends ApplicationEvent {
    private String msg;

    public Event_1(String msg) {
        super(msg);
        this.msg = msg;
    }
}
